From 6628e52ef093599f1d18eb7196514f40599bbbf7 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 28 Jun 2010 21:25:49 +0000 Subject: [PATCH] Fix bogus CDATA encoding of description in KML tags. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4001 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/kml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/kml.c b/gpsbabel/kml.c index 8e41317b4..1ce8ff514 100644 --- a/gpsbabel/kml.c +++ b/gpsbabel/kml.c @@ -413,9 +413,9 @@ kml_write_xmle(const char *tag, const char *fmt, ...) if (strspn(tmp_ent, "&'<>\"")) needs_escaping = 1; gbfprintf(ofd, "<%s>", tag); - if (needs_escaping) gbfprintf(ofd, ""); gbfprintf(ofd, "\n", tag); xfree(tmp_ent); } -- 2.30.2